import { configureStore } from "@reduxjs/toolkit"
import userReducer from "./modules/userStore"

// 组合 redux 子模块，得到 store 实例对象
const store = configureStore({
  reducer: {
    user: userReducer
  }
})
// 默认导出 store 实例对象
export default store